﻿<%@ Control Language="C#" ClassName="PhongFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataTenPhong" runat="server" Text="Tên Phòng:" AssociatedControlID="dataTenPhong" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTenPhong" Text='<%# Bind("TenPhong") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTenPhong" runat="server" Display="Dynamic" ControlToValidate="dataTenPhong" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataTenPhong" runat="server" Display="Dynamic" ControlToValidate="dataTenPhong" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMoTa" runat="server" Text="Mô Tả:" AssociatedControlID="dataMoTa" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMoTa" Text='<%# Bind("MoTa") %>'  TextMode="MultiLine"  Width="250px" Rows="5"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTrangThai" runat="server" Text="Trạng Thái:" AssociatedControlID="dataTrangThai" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataTrangThai" SelectedValue='<%# Bind("TrangThai") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Có" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="Không"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


